package com.abth.douyin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 城市对象 douyin_city
 * 
 * @author abingtech
 * @date 2025-09-09
 */
public class DouyinCity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String cityCode;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 所属省编码 */
    @Excel(name = "所属省编码")
    private String privinceCode;

    /** 所属省名称 */
    @Excel(name = "所属省名称")
    private String privinceName;

    // 1，未抓取 2，抓取中 3， 抓取成功；4，抓取失败
    private Integer stat;

    public Integer getStat() {
        return stat;
    }

    public void setStat(Integer stat) {
        this.stat = stat;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }

    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }

    public void setPrivinceCode(String privinceCode) 
    {
        this.privinceCode = privinceCode;
    }

    public String getPrivinceCode() 
    {
        return privinceCode;
    }

    public void setPrivinceName(String privinceName) 
    {
        this.privinceName = privinceName;
    }

    public String getPrivinceName() 
    {
        return privinceName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("privinceCode", getPrivinceCode())
            .append("privinceName", getPrivinceName())
            .toString();
    }
}
